package cn.tedu.system.review.pojo.dto;

import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

@Data
public class ReviewAddDto {
    @ApiModelProperty(value = "订单id", required = true)
    private Long orderId;
    @ApiModelProperty(value = "商品id", required = true)
    private Long productId;
    @ApiModelProperty(value = "评分", required = true)
    private int rating;
    @ApiModelProperty(value = "评论内容", required = true)
    private String content;
    @ApiModelProperty(value = "图片地址", required = true)
    private String images;
    @ApiModelProperty(value = "是否匿名", required = true)
    private int isAnonymous;
}
